package org.example.coffeeshoporderingsystem.common.controller;

import javafx.fxml.Initializable;
import org.example.coffeeshoporderingsystem.common.ui.UIManager;
import org.example.coffeeshoporderingsystem.login.controller.LoginController;

import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;

public abstract class BaseController implements Initializable {
    public void logout() throws IOException {
        UIManager.switchToLogin();
    }

    @Override
    public void initialize(URL url, ResourceBundle resourceBundle) {

    }
}
